package com.caigou.mapper.cms;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Mapper
@Repository("AdContractSequenceMapper")
public interface AdContractSequenceMapper {
    Integer loadAdContractSequence();

    void lockAdContractSequence();

    int lockAdContractSequenceExits(@Param("contractNumber") Integer contractNumber);

    void unLockAdContractSequence();

    void updateAdContractSequence();
}
